package cate.game.event.spicefb;

import cate.common.table.farm.spicefb.row.SpiceFbLevelRow;
import cate.game.event.GameEvent;
import cate.game.role.Role;
import cate.game.role.RoleDependent;
import cate.game.role.farm.spicefb.msg.SpiceFbChallengeResultResp;
import lombok.Getter;

import java.util.Objects;

public class SpiceFbChallengedEvent extends RoleDependent implements GameEvent {

    @Getter
    private final SpiceFbLevelRow row;
    @Getter
    private final SpiceFbChallengeResultResp resultResp;

    public SpiceFbChallengedEvent(Role role, SpiceFbLevelRow row, SpiceFbChallengeResultResp resultResp) {
        super(role);
        this.row = Objects.requireNonNull(row);
        this.resultResp = Objects.requireNonNull(resultResp);
    }
}
